Optimal. Leaf size=19 \[ \frac{\left (a+b x^n\right )^4}{4 b n} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0191692, antiderivative size = 19, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.067 \[ \frac{\left (a+b x^n\right )^4}{4 b n} \]
Antiderivative was successfully verified.
[In] Int[x^(-1 + n)*(a + b*x^n)^3,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 2.45639, size = 12, normalized size = 0.63 \[ \frac{\left (a + b x^{n}\right )^{4}}{4 b n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**(-1+n)*(a+b*x**n)**3,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0121418, size = 19, normalized size = 1. \[ \frac{\left (a+b x^n\right )^4}{4 b n} \]
Antiderivative was successfully verified.
[In] Integrate[x^(-1 + n)*(a + b*x^n)^3,x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.024, size = 60, normalized size = 3.2 \[{\frac{{a}^{3}{{\rm e}^{n\ln \left ( x \right ) }}}{n}}+{\frac{a{b}^{2} \left ({{\rm e}^{n\ln \left ( x \right ) }} \right ) ^{3}}{n}}+{\frac{{b}^{3} \left ({{\rm e}^{n\ln \left ( x \right ) }} \right ) ^{4}}{4\,n}}+{\frac{3\,{a}^{2}b \left ({{\rm e}^{n\ln \left ( x \right ) }} \right ) ^{2}}{2\,n}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^(-1+n)*(a+b*x^n)^3,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.4463, size = 23, normalized size = 1.21 \[ \frac{{\left (b x^{n} + a\right )}^{4}}{4 \, b n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^n + a)^3*x^(n - 1),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.225572, size = 61, normalized size = 3.21 \[ \frac{b^{3} x^{4 \, n} + 4 \, a b^{2} x^{3 \, n} + 6 \, a^{2} b x^{2 \, n} + 4 \, a^{3} x^{n}}{4 \, n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^n + a)^3*x^(n - 1),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 16.7306, size = 54, normalized size = 2.84 \[ \begin{cases} \frac{a^{3} x^{n}}{n} + \frac{3 a^{2} b x^{2 n}}{2 n} + \frac{a b^{2} x^{3 n}}{n} + \frac{b^{3} x^{4 n}}{4 n} & \text{for}\: n \neq 0 \\\left (a + b\right )^{3} \log{\left (x \right )} & \text{otherwise} \end{cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**(-1+n)*(a+b*x**n)**3,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.216132, size = 61, normalized size = 3.21 \[ \frac{b^{3} x^{4 \, n} + 4 \, a b^{2} x^{3 \, n} + 6 \, a^{2} b x^{2 \, n} + 4 \, a^{3} x^{n}}{4 \, n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^n + a)^3*x^(n - 1),x, algorithm="giac")
[Out]